//
//  BSFastLoginButton.m
//  BaiSi
//
//  Created by Sycamore on 16/4/29.
//  Copyright © 2016年 Sycamore. All rights reserved.
//

#import "BSFastLoginButton.h"

@implementation BSFastLoginButton

- (void)layoutSubviews
{
    [super layoutSubviews];
    
    self.imageView.bs_X = (self.bs_width - self.imageView.bs_width) * 0.5;
    self.imageView.bs_Y = 0;
    
    [self.titleLabel sizeToFit];
    self.titleLabel.bs_X = (self.bs_width - self.titleLabel.bs_width) * 0.5;
    self.titleLabel.bs_Y = self.bs_height - self.titleLabel.bs_height - 10;
}

@end
